package key2.exer1;

/**
 * @author shkstart
 * @date 2022/5/20 - 22:49
 */

abstract public class Employee {
    private String name;
    private int id;
    private double salary;

    public Employee() {

    }
    public Employee(String name,int id,double salary) {
        this.id = id;
        this.salary = salary;
        this.name = name;
    }

    public abstract void work();
}

